            <div class="hot_prod_index">
                <div class="hot_prod_index01"><span>热门商品</span></div>
                <div class="hot_prod_index02">                	
                    	<table border="0" cellspacing="0" cellpadding="0" class="hot_prod_index_detail">
<?php			
						$index='0';
						foreach($hotProducts as $product)
						{
							if($index%'4'=='0')
								echo '<tr>';
?>
							<td>
<?php
							if($product!=false)
							{ 
?>
								<a href="<?php echo edp_href_link(PAGENAME_PRODUCT_INFO, 'pid='.$product['id']);?>" target="_blank">
									<img src="<?php echo $product['pic_path'];?>" alt="<?php echo $product['product_name']?>" class="item_list_pic_prod1 thumbImage80" ></img>
								</a>
								<div class="hot_prod_name"><a href="<?php echo edp_href_link(PAGENAME_PRODUCT_INFO, 'pid='.$product['id']);?>" target="_blank"><?php echo $product['product_name']?></a></div>
<?php
							} 
?>
							</td>
<?php
							if($index%'4'=='3')
							{
								echo '</tr>';
							}
							$index++;
						}
?>   
                        </table>
                     
                </div>
                <div class="hot_prod_index03"></div>            
        	</div>